package org.example.doctorapi.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class indexController {
    @GetMapping("/{page}")
    public String page(@PathVariable String page){
        return page;
    }
    @GetMapping("favicon.ico")
    @ResponseBody
    void noFavicon() {
    }


}
